package com.indexingsystem.boss.entity;

import java.util.ArrayList;
import java.util.List;

public class OrderResourceProductsDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public OrderResourceProductsDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderResourceProductsDetailIdIsNull() {
            addCriterion("order_resource_products_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdIsNotNull() {
            addCriterion("order_resource_products_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdEqualTo(String value) {
            addCriterion("order_resource_products_detail_id =", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdNotEqualTo(String value) {
            addCriterion("order_resource_products_detail_id <>", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdGreaterThan(String value) {
            addCriterion("order_resource_products_detail_id >", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_resource_products_detail_id >=", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdLessThan(String value) {
            addCriterion("order_resource_products_detail_id <", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdLessThanOrEqualTo(String value) {
            addCriterion("order_resource_products_detail_id <=", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdLike(String value) {
            addCriterion("order_resource_products_detail_id like", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdNotLike(String value) {
            addCriterion("order_resource_products_detail_id not like", value, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdIn(List<String> values) {
            addCriterion("order_resource_products_detail_id in", values, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdNotIn(List<String> values) {
            addCriterion("order_resource_products_detail_id not in", values, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdBetween(String value1, String value2) {
            addCriterion("order_resource_products_detail_id between", value1, value2, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderResourceProductsDetailIdNotBetween(String value1, String value2) {
            addCriterion("order_resource_products_detail_id not between", value1, value2, "orderResourceProductsDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdIsNull() {
            addCriterion("order_product_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdIsNotNull() {
            addCriterion("order_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdEqualTo(String value) {
            addCriterion("order_product_id =", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdNotEqualTo(String value) {
            addCriterion("order_product_id <>", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdGreaterThan(String value) {
            addCriterion("order_product_id >", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_product_id >=", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdLessThan(String value) {
            addCriterion("order_product_id <", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdLessThanOrEqualTo(String value) {
            addCriterion("order_product_id <=", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdLike(String value) {
            addCriterion("order_product_id like", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdNotLike(String value) {
            addCriterion("order_product_id not like", value, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdIn(List<String> values) {
            addCriterion("order_product_id in", values, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdNotIn(List<String> values) {
            addCriterion("order_product_id not in", values, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdBetween(String value1, String value2) {
            addCriterion("order_product_id between", value1, value2, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andOrderProductIdNotBetween(String value1, String value2) {
            addCriterion("order_product_id not between", value1, value2, "orderProductId");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(String value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(String value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(String value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(String value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(String value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLike(String value) {
            addCriterion("product_id like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotLike(String value) {
            addCriterion("product_id not like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<String> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<String> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(String value1, String value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(String value1, String value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(Integer value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(Integer value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(Integer value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(Integer value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(Integer value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<Integer> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<Integer> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(Integer value1, Integer value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andResTypeIdIsNull() {
            addCriterion("res_type_id is null");
            return (Criteria) this;
        }

        public Criteria andResTypeIdIsNotNull() {
            addCriterion("res_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andResTypeIdEqualTo(String value) {
            addCriterion("res_type_id =", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdNotEqualTo(String value) {
            addCriterion("res_type_id <>", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdGreaterThan(String value) {
            addCriterion("res_type_id >", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("res_type_id >=", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdLessThan(String value) {
            addCriterion("res_type_id <", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdLessThanOrEqualTo(String value) {
            addCriterion("res_type_id <=", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdLike(String value) {
            addCriterion("res_type_id like", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdNotLike(String value) {
            addCriterion("res_type_id not like", value, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdIn(List<String> values) {
            addCriterion("res_type_id in", values, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdNotIn(List<String> values) {
            addCriterion("res_type_id not in", values, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdBetween(String value1, String value2) {
            addCriterion("res_type_id between", value1, value2, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTypeIdNotBetween(String value1, String value2) {
            addCriterion("res_type_id not between", value1, value2, "resTypeId");
            return (Criteria) this;
        }

        public Criteria andResTableIsNull() {
            addCriterion("res_table is null");
            return (Criteria) this;
        }

        public Criteria andResTableIsNotNull() {
            addCriterion("res_table is not null");
            return (Criteria) this;
        }

        public Criteria andResTableEqualTo(String value) {
            addCriterion("res_table =", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableNotEqualTo(String value) {
            addCriterion("res_table <>", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableGreaterThan(String value) {
            addCriterion("res_table >", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableGreaterThanOrEqualTo(String value) {
            addCriterion("res_table >=", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableLessThan(String value) {
            addCriterion("res_table <", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableLessThanOrEqualTo(String value) {
            addCriterion("res_table <=", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableLike(String value) {
            addCriterion("res_table like", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableNotLike(String value) {
            addCriterion("res_table not like", value, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableIn(List<String> values) {
            addCriterion("res_table in", values, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableNotIn(List<String> values) {
            addCriterion("res_table not in", values, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableBetween(String value1, String value2) {
            addCriterion("res_table between", value1, value2, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTableNotBetween(String value1, String value2) {
            addCriterion("res_table not between", value1, value2, "resTable");
            return (Criteria) this;
        }

        public Criteria andResTypeNameIsNull() {
            addCriterion("res_type_name is null");
            return (Criteria) this;
        }

        public Criteria andResTypeNameIsNotNull() {
            addCriterion("res_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andResTypeNameEqualTo(String value) {
            addCriterion("res_type_name =", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameNotEqualTo(String value) {
            addCriterion("res_type_name <>", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameGreaterThan(String value) {
            addCriterion("res_type_name >", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("res_type_name >=", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameLessThan(String value) {
            addCriterion("res_type_name <", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameLessThanOrEqualTo(String value) {
            addCriterion("res_type_name <=", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameLike(String value) {
            addCriterion("res_type_name like", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameNotLike(String value) {
            addCriterion("res_type_name not like", value, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameIn(List<String> values) {
            addCriterion("res_type_name in", values, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameNotIn(List<String> values) {
            addCriterion("res_type_name not in", values, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameBetween(String value1, String value2) {
            addCriterion("res_type_name between", value1, value2, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andResTypeNameNotBetween(String value1, String value2) {
            addCriterion("res_type_name not between", value1, value2, "resTypeName");
            return (Criteria) this;
        }

        public Criteria andPublishdateIsNull() {
            addCriterion("publishdate is null");
            return (Criteria) this;
        }

        public Criteria andPublishdateIsNotNull() {
            addCriterion("publishdate is not null");
            return (Criteria) this;
        }

        public Criteria andPublishdateEqualTo(String value) {
            addCriterion("publishdate =", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateNotEqualTo(String value) {
            addCriterion("publishdate <>", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateGreaterThan(String value) {
            addCriterion("publishdate >", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateGreaterThanOrEqualTo(String value) {
            addCriterion("publishdate >=", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateLessThan(String value) {
            addCriterion("publishdate <", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateLessThanOrEqualTo(String value) {
            addCriterion("publishdate <=", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateLike(String value) {
            addCriterion("publishdate like", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateNotLike(String value) {
            addCriterion("publishdate not like", value, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateIn(List<String> values) {
            addCriterion("publishdate in", values, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateNotIn(List<String> values) {
            addCriterion("publishdate not in", values, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateBetween(String value1, String value2) {
            addCriterion("publishdate between", value1, value2, "publishdate");
            return (Criteria) this;
        }

        public Criteria andPublishdateNotBetween(String value1, String value2) {
            addCriterion("publishdate not between", value1, value2, "publishdate");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNull() {
            addCriterion("order_type is null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNotNull() {
            addCriterion("order_type is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeEqualTo(Integer value) {
            addCriterion("order_type =", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotEqualTo(Integer value) {
            addCriterion("order_type <>", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThan(Integer value) {
            addCriterion("order_type >", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_type >=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThan(Integer value) {
            addCriterion("order_type <", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThanOrEqualTo(Integer value) {
            addCriterion("order_type <=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIn(List<Integer> values) {
            addCriterion("order_type in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotIn(List<Integer> values) {
            addCriterion("order_type not in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeBetween(Integer value1, Integer value2) {
            addCriterion("order_type between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("order_type not between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andPublishyearIsNull() {
            addCriterion("publishyear is null");
            return (Criteria) this;
        }

        public Criteria andPublishyearIsNotNull() {
            addCriterion("publishyear is not null");
            return (Criteria) this;
        }

        public Criteria andPublishyearEqualTo(String value) {
            addCriterion("publishyear =", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearNotEqualTo(String value) {
            addCriterion("publishyear <>", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearGreaterThan(String value) {
            addCriterion("publishyear >", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearGreaterThanOrEqualTo(String value) {
            addCriterion("publishyear >=", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearLessThan(String value) {
            addCriterion("publishyear <", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearLessThanOrEqualTo(String value) {
            addCriterion("publishyear <=", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearLike(String value) {
            addCriterion("publishyear like", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearNotLike(String value) {
            addCriterion("publishyear not like", value, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearIn(List<String> values) {
            addCriterion("publishyear in", values, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearNotIn(List<String> values) {
            addCriterion("publishyear not in", values, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearBetween(String value1, String value2) {
            addCriterion("publishyear between", value1, value2, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishyearNotBetween(String value1, String value2) {
            addCriterion("publishyear not between", value1, value2, "publishyear");
            return (Criteria) this;
        }

        public Criteria andPublishmonthIsNull() {
            addCriterion("publishmonth is null");
            return (Criteria) this;
        }

        public Criteria andPublishmonthIsNotNull() {
            addCriterion("publishmonth is not null");
            return (Criteria) this;
        }

        public Criteria andPublishmonthEqualTo(String value) {
            addCriterion("publishmonth =", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthNotEqualTo(String value) {
            addCriterion("publishmonth <>", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthGreaterThan(String value) {
            addCriterion("publishmonth >", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthGreaterThanOrEqualTo(String value) {
            addCriterion("publishmonth >=", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthLessThan(String value) {
            addCriterion("publishmonth <", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthLessThanOrEqualTo(String value) {
            addCriterion("publishmonth <=", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthLike(String value) {
            addCriterion("publishmonth like", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthNotLike(String value) {
            addCriterion("publishmonth not like", value, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthIn(List<String> values) {
            addCriterion("publishmonth in", values, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthNotIn(List<String> values) {
            addCriterion("publishmonth not in", values, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthBetween(String value1, String value2) {
            addCriterion("publishmonth between", value1, value2, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andPublishmonthNotBetween(String value1, String value2) {
            addCriterion("publishmonth not between", value1, value2, "publishmonth");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdIsNull() {
            addCriterion("institutions_id is null");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdIsNotNull() {
            addCriterion("institutions_id is not null");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdEqualTo(String value) {
            addCriterion("institutions_id =", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdNotEqualTo(String value) {
            addCriterion("institutions_id <>", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdGreaterThan(String value) {
            addCriterion("institutions_id >", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdGreaterThanOrEqualTo(String value) {
            addCriterion("institutions_id >=", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdLessThan(String value) {
            addCriterion("institutions_id <", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdLessThanOrEqualTo(String value) {
            addCriterion("institutions_id <=", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdLike(String value) {
            addCriterion("institutions_id like", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdNotLike(String value) {
            addCriterion("institutions_id not like", value, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdIn(List<String> values) {
            addCriterion("institutions_id in", values, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdNotIn(List<String> values) {
            addCriterion("institutions_id not in", values, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdBetween(String value1, String value2) {
            addCriterion("institutions_id between", value1, value2, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andInstitutionsIdNotBetween(String value1, String value2) {
            addCriterion("institutions_id not between", value1, value2, "institutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdIsNull() {
            addCriterion("up_institutions_id is null");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdIsNotNull() {
            addCriterion("up_institutions_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdEqualTo(String value) {
            addCriterion("up_institutions_id =", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdNotEqualTo(String value) {
            addCriterion("up_institutions_id <>", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdGreaterThan(String value) {
            addCriterion("up_institutions_id >", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdGreaterThanOrEqualTo(String value) {
            addCriterion("up_institutions_id >=", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdLessThan(String value) {
            addCriterion("up_institutions_id <", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdLessThanOrEqualTo(String value) {
            addCriterion("up_institutions_id <=", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdLike(String value) {
            addCriterion("up_institutions_id like", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdNotLike(String value) {
            addCriterion("up_institutions_id not like", value, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdIn(List<String> values) {
            addCriterion("up_institutions_id in", values, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdNotIn(List<String> values) {
            addCriterion("up_institutions_id not in", values, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdBetween(String value1, String value2) {
            addCriterion("up_institutions_id between", value1, value2, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andUpInstitutionsIdNotBetween(String value1, String value2) {
            addCriterion("up_institutions_id not between", value1, value2, "upInstitutionsId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdIsNull() {
            addCriterion("res_category_id is null");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdIsNotNull() {
            addCriterion("res_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdEqualTo(String value) {
            addCriterion("res_category_id =", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdNotEqualTo(String value) {
            addCriterion("res_category_id <>", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdGreaterThan(String value) {
            addCriterion("res_category_id >", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("res_category_id >=", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdLessThan(String value) {
            addCriterion("res_category_id <", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdLessThanOrEqualTo(String value) {
            addCriterion("res_category_id <=", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdLike(String value) {
            addCriterion("res_category_id like", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdNotLike(String value) {
            addCriterion("res_category_id not like", value, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdIn(List<String> values) {
            addCriterion("res_category_id in", values, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdNotIn(List<String> values) {
            addCriterion("res_category_id not in", values, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdBetween(String value1, String value2) {
            addCriterion("res_category_id between", value1, value2, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryIdNotBetween(String value1, String value2) {
            addCriterion("res_category_id not between", value1, value2, "resCategoryId");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameIsNull() {
            addCriterion("res_category_name is null");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameIsNotNull() {
            addCriterion("res_category_name is not null");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameEqualTo(String value) {
            addCriterion("res_category_name =", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameNotEqualTo(String value) {
            addCriterion("res_category_name <>", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameGreaterThan(String value) {
            addCriterion("res_category_name >", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("res_category_name >=", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameLessThan(String value) {
            addCriterion("res_category_name <", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameLessThanOrEqualTo(String value) {
            addCriterion("res_category_name <=", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameLike(String value) {
            addCriterion("res_category_name like", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameNotLike(String value) {
            addCriterion("res_category_name not like", value, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameIn(List<String> values) {
            addCriterion("res_category_name in", values, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameNotIn(List<String> values) {
            addCriterion("res_category_name not in", values, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameBetween(String value1, String value2) {
            addCriterion("res_category_name between", value1, value2, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andResCategoryNameNotBetween(String value1, String value2) {
            addCriterion("res_category_name not between", value1, value2, "resCategoryName");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdIsNull() {
            addCriterion("up_res_category_id is null");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdIsNotNull() {
            addCriterion("up_res_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdEqualTo(String value) {
            addCriterion("up_res_category_id =", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdNotEqualTo(String value) {
            addCriterion("up_res_category_id <>", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdGreaterThan(String value) {
            addCriterion("up_res_category_id >", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("up_res_category_id >=", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdLessThan(String value) {
            addCriterion("up_res_category_id <", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdLessThanOrEqualTo(String value) {
            addCriterion("up_res_category_id <=", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdLike(String value) {
            addCriterion("up_res_category_id like", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdNotLike(String value) {
            addCriterion("up_res_category_id not like", value, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdIn(List<String> values) {
            addCriterion("up_res_category_id in", values, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdNotIn(List<String> values) {
            addCriterion("up_res_category_id not in", values, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdBetween(String value1, String value2) {
            addCriterion("up_res_category_id between", value1, value2, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andUpResCategoryIdNotBetween(String value1, String value2) {
            addCriterion("up_res_category_id not between", value1, value2, "upResCategoryId");
            return (Criteria) this;
        }

        public Criteria andAliasIsNull() {
            addCriterion("alias is null");
            return (Criteria) this;
        }

        public Criteria andAliasIsNotNull() {
            addCriterion("alias is not null");
            return (Criteria) this;
        }

        public Criteria andAliasEqualTo(String value) {
            addCriterion("alias =", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasNotEqualTo(String value) {
            addCriterion("alias <>", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasGreaterThan(String value) {
            addCriterion("alias >", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasGreaterThanOrEqualTo(String value) {
            addCriterion("alias >=", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasLessThan(String value) {
            addCriterion("alias <", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasLessThanOrEqualTo(String value) {
            addCriterion("alias <=", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasLike(String value) {
            addCriterion("alias like", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasNotLike(String value) {
            addCriterion("alias not like", value, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasIn(List<String> values) {
            addCriterion("alias in", values, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasNotIn(List<String> values) {
            addCriterion("alias not in", values, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasBetween(String value1, String value2) {
            addCriterion("alias between", value1, value2, "alias");
            return (Criteria) this;
        }

        public Criteria andAliasNotBetween(String value1, String value2) {
            addCriterion("alias not between", value1, value2, "alias");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationIsNull() {
            addCriterion("product_abbreviation is null");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationIsNotNull() {
            addCriterion("product_abbreviation is not null");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationEqualTo(String value) {
            addCriterion("product_abbreviation =", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationNotEqualTo(String value) {
            addCriterion("product_abbreviation <>", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationGreaterThan(String value) {
            addCriterion("product_abbreviation >", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationGreaterThanOrEqualTo(String value) {
            addCriterion("product_abbreviation >=", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationLessThan(String value) {
            addCriterion("product_abbreviation <", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationLessThanOrEqualTo(String value) {
            addCriterion("product_abbreviation <=", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationLike(String value) {
            addCriterion("product_abbreviation like", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationNotLike(String value) {
            addCriterion("product_abbreviation not like", value, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationIn(List<String> values) {
            addCriterion("product_abbreviation in", values, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationNotIn(List<String> values) {
            addCriterion("product_abbreviation not in", values, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationBetween(String value1, String value2) {
            addCriterion("product_abbreviation between", value1, value2, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andProductAbbreviationNotBetween(String value1, String value2) {
            addCriterion("product_abbreviation not between", value1, value2, "productAbbreviation");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNull() {
            addCriterion("product_price is null");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNotNull() {
            addCriterion("product_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductPriceEqualTo(String value) {
            addCriterion("product_price =", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotEqualTo(String value) {
            addCriterion("product_price <>", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThan(String value) {
            addCriterion("product_price >", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanOrEqualTo(String value) {
            addCriterion("product_price >=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThan(String value) {
            addCriterion("product_price <", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanOrEqualTo(String value) {
            addCriterion("product_price <=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLike(String value) {
            addCriterion("product_price like", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotLike(String value) {
            addCriterion("product_price not like", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceIn(List<String> values) {
            addCriterion("product_price in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotIn(List<String> values) {
            addCriterion("product_price not in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceBetween(String value1, String value2) {
            addCriterion("product_price between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotBetween(String value1, String value2) {
            addCriterion("product_price not between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andUnitCountIsNull() {
            addCriterion("unit_count is null");
            return (Criteria) this;
        }

        public Criteria andUnitCountIsNotNull() {
            addCriterion("unit_count is not null");
            return (Criteria) this;
        }

        public Criteria andUnitCountEqualTo(Integer value) {
            addCriterion("unit_count =", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountNotEqualTo(Integer value) {
            addCriterion("unit_count <>", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountGreaterThan(Integer value) {
            addCriterion("unit_count >", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("unit_count >=", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountLessThan(Integer value) {
            addCriterion("unit_count <", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountLessThanOrEqualTo(Integer value) {
            addCriterion("unit_count <=", value, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountIn(List<Integer> values) {
            addCriterion("unit_count in", values, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountNotIn(List<Integer> values) {
            addCriterion("unit_count not in", values, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountBetween(Integer value1, Integer value2) {
            addCriterion("unit_count between", value1, value2, "unitCount");
            return (Criteria) this;
        }

        public Criteria andUnitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("unit_count not between", value1, value2, "unitCount");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}